#异常的传递

def func1():
    print(name)

def func2():
    func1()

def main():
    func2()

try:
    main()
except Exception as e:
    print(e)